package com.kingsoft.miot.bridge.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.kingsoft.miot.bridge.dao.AreaInfoDao;
import com.kingsoft.miot.bridge.pojo.pub.AreaInfo;
import com.kingsoft.miot.bridge.service.PublicService;

public class PublicServiceImpl  implements PublicService{

	@Autowired
	private AreaInfoDao areaInfoDao;
	
	@Override
	public List<AreaInfo> getArea() {
		return areaInfoDao.getAll();
	}

	@Override
	public String getDevices() {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * 通过group id， auth unit id，生成一个control unit
	 */
	@Override
	public String genControlunit() {
		// TODO Auto-generated method stub
		return null;
	}

}
